package com.homework.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

/**
* @author HLQ
* @date 2024/9/29 10:10
*/

@Data
@Configuration
@AllArgsConstructor
@NoArgsConstructor
@Scope("prototype")
@Component
@Accessors(chain = true)
public class Role {
    private int roleId;
    private String roleName;
    private String description;
    private Integer status;
    private Timestamp createTime;
    private Timestamp updateTime;
    private List<Permission> permissions;
}
